package com.cldz.feign;

import com.cldz.common.dto.req.DevAlarmDto;
import com.cldz.config.FeignConfiguration;
import com.cldz.response.support.ServerResponse;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @ Author     ：lixiao.
 * @ Date       ：Created in 11:15 2018/12/25
 * @ Description：
 * @ Modified By：
 */
@FeignClient(name = "data" ,configuration = FeignConfiguration.class)
public interface DevAlarmFeign {

    @RequestMapping(value = "/runAlarmData",method = RequestMethod.GET)
    ServerResponse getRunAlarmData(DevAlarmDto devAlarmDto);

    @RequestMapping(value = "/runDeviceAlarmData",method = RequestMethod.GET)
    ServerResponse getRunDeviceAlarmData(DevAlarmDto devAlarmDto);

    @RequestMapping(value = "/hisAlarmData",method = RequestMethod.GET)
    ServerResponse getHisAlarmData(DevAlarmDto devAlarmDto);

    @RequestMapping(value = "/hisDeviceAlarmData",method = RequestMethod.GET)
    ServerResponse getHisDeviceAlarmData(DevAlarmDto devAlarmDto);

    @RequestMapping(value = "/devsRunAlarmCount",method = RequestMethod.GET)
    ServerResponse getDevsRunAlarmCount(DevAlarmDto devAlarmDto);

    @RequestMapping(value = "/alarmMsgs",method = RequestMethod.GET)
    ServerResponse getAlarmMsgs(DevAlarmDto devAlarmDto);

}
